#include <iostream>
#include <unordered_map>
#include <vector>
#include <string>

using namespace std;

int main(void){
    cout << "hello linux cpp!\n";
    unordered_map<string, int> um;
    vector<string> vs = {"apple", "apple", "banana", "apple", "orange", "banana", "apple"};
    for(auto it : vs){
        um[it]++;
    }
    for(auto it : um){
        cout << it.first << ":" << it.second << endl;
    }
    return 0;
}